package com.company.cloud.uba.modules.mgr.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.company.cloud.common.bean.LoginSimpleUserInfo;
import com.company.cloud.uba.modules.app.controller.req.UserShareAddParam;
import com.company.cloud.uba.modules.app.controller.req.UserShareQuery4PageParam;
import com.company.cloud.uba.modules.base.entity.UserShareInfo;
import com.company.cloud.uba.modules.cache.models.UserShareModel;

public interface UserShareMgrService {

    public UserShareInfo addUserShare(UserShareAddParam params, String referralCode,LoginSimpleUserInfo user, String anonymToken, String ip);

    public IPage<UserShareModel> queryUserShare(UserShareQuery4PageParam params,LoginSimpleUserInfo user);

}
